import request from '../utils/request'

// 优惠券主页信息获取
export const getcouponlist = (data:any)=>request({
    url: 'http://localhost:8888/mock/coupon',
    method:'POST',
    data,
})

// 优惠券编辑信息提交
export const couponpush = (user:any)=>request({
    url: 'http://localhost:8888/mock/pushcoupon',
    method:'POST',
    data:user



})


